package com.ext.aic.enums;

public enum SearchSource {
    NONE,
    CONTENT,
    CUSTOMERS;

    public static SearchSource getSearchSource(String source) {
        for (SearchSource searchSource : values()) {
            if (searchSource.name().equals(source)) {
                return searchSource;
            }
        }
        return NONE;
    }
}
